﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ENTITY;
using BUS;

public partial class Pages_ThongTinCaNhan : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btn_submit_Click(object sender, EventArgs e)
    {
        EntUser entity = new EntUser();
        entity.Hoten = tbx_hoten.Text;
        entity.Diachi = tbx_diachi.Text;
        entity.Cmnd = tbx_cmnd.Text;
        entity.Nghenghiep = tbx_nghenghiep.Text;
        entity.Taikhoannganhang = tbx_taikhoannganhang.Text;
        entity.Email = tbx_email.Text;
        entity.Quocgia = tbx_quocgia.Text;
        entity.Dtdd = tbx_dtdd.Text;
        entity.Username = Session["ss_username"].ToString();
        UBusAdd add = new UBusAdd();
        add.AddUser(entity);
        Response.Redirect("Default.aspx", false);
    }
    protected void btn_reset_Click(object sender, EventArgs e)
    {

    }
    protected void btn_exit_Click(object sender, EventArgs e)
    {

    }
}
